package com.ziyun.pop.common.e.mercharReport;

import com.ziyun.pop.common.e.BaseEnum;

/**
 * 预存款充值使用方式
 * @author jiangli
 * @date 2019-02-14 10:07
 */
public enum AdvancePaymentEnum implements BaseEnum {
    现金存入(1,"现金存入","现金存入"),
    预存款支付(2,"扫码支付","扫码支付"),
    alipay(3,"alipay","支付宝alipay"),
    alipaygateway(4,"alipaygateway","支付宝alipaygateway"),
    deposit(5,"deposit","预存款支付"),
    malipay(6,"malipay","malipay"),
    umfalipay(7,"umfalipay","联动支付(支付宝)"),
    umfapppay(8,"umfapppay","联动APP支付"),
    umfbankpay(9,"umfbankpay","联动支付(银行卡)"),
    offline(10,"offline","联动(H5银联支付)"),
    umfh5pay(11,"umfh5pay","联动(H5支付)"),
    umfh5weixinpay(12,"umfh5weixinpay","联动(H5微信支付)"),
    umfweixinpay(13,"umfweixinpay","联动支付(微信)"),
    umfweixinpublicpay(14,"umfweixinpublicpay","联动支付(微信公众号)"),
    unionpay(15,"unionpay","unionpay"),
    upacp(16,"upacp","银联支付"),
    weixin(17,"weixin","微信支付weixin"),
    weixinmweb(18,"weixinmweb","微信支付weixinmweb"),
    wxpay(19,"wxpay","微信支付wxpay"),
    zs(20,"zs","zs"),
    ;

    private Integer id;
    private String code;
    private String describe;

    AdvancePaymentEnum(Integer id,String code, String describe) {
        this.id=id;
        this.code = code;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return code;
    }

    @Override
    public String toDescribe() {
        return describe;
    }

}
